<?php

namespace Tbf\Bundle\CronBundle;

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Tbf\Bundle\CronBundle\DependencyInjection\Compiler\PersistCronCompilerPass;

class TbfCronBundle extends Bundle
{

    public function build(ContainerBuilder $container)
    {
        parent::build($container);

        $container->addCompilerPass(new PersistCronCompilerPass());
    }

}
